package com.aiti.lulian.entity.crad.promotion;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("card_promotion")
public class CardPromotion {

    @TableId(type = IdType.ASSIGN_UUID)
    private String baseId;

    private String enterpriseId;

    private String deptName;

    private String account;

    private String realName;

    private String userId;

    private Long forwardingCount;

    private Long registerCount;

    private Long payCount;

    private BigDecimal cumulativeGain;

    private String promotionCode;

    @TableField(fill = FieldFill.INSERT)
    private Date baseCreateTime;

    @TableField(fill = FieldFill.UPDATE)
    private Date baseUpdateTime;

    private BigDecimal transactionAmount;

    private String baseCreateBy;

    private String baseUpdateBy;

    private Integer ratio;

    private Date deleteTime;

    //累计提现收益
    private BigDecimal cumulativeGainHistory;

    /**
     * 收款账户-类别（'1'：支付宝账户，'2'：银行卡账户）
     */
    private String receivingAccountType;

    /**
     * 收款账户-开户行
     */
    private String openingBank;

    /**
     * 收款账户-真实姓名
     */
    private String receivingAccountRealName;

    /**
     * 收款账户-详细账号
     */
    private String receivingDetailedAccount;

    /**
     * 推广人类型（'1'：企业，'2'：政府）
     */
    private String promoterType;
}